


package gui;

import javax.swing.JFrame;
import java.awt.Dimension;
import javax.swing.JLabel;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import java.awt.Rectangle;
import javax.swing.JButton;

public class Chackempty extends JFrame{

	private JPanel jPanelError = null;
	public JLabel jLabelMassage = null;
	private JButton jButtonOk = null;

	/**
	 * This method initializes 
	 * 
	 */
	public Chackempty() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 */
	private void initialize() {
        this.setSize(380, 217);
        this.setContentPane(getJPanelError());
        this.setTitle("choose an option");
		
	}

	/**
	 * This method initializes jPanelError	
	 * 	
	 * @return javax.swing.JPanel	
	 */
	private JPanel getJPanelError() {
		if (jPanelError == null) {
			jLabelMassage = new JLabel();
			jLabelMassage.setBounds(new Rectangle(24, 23, 314, 89));			
			jPanelError = new JPanel();
			jPanelError.setLayout(null);
			jPanelError.add(jLabelMassage, null);
			jPanelError.add(getJButtonOk(), null);
		}
		return jPanelError;
	}

	/**
	 * This method initializes jButtonOk	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getJButtonOk() {
		if (jButtonOk == null) {
			jButtonOk = new JButton();
			jButtonOk.setBounds(new Rectangle(140, 123, 67, 44));
			jButtonOk.setText("OK");
			jButtonOk.addActionListener(new java.awt.event.ActionListener() {				
				public void actionPerformed(java.awt.event.ActionEvent e) {					
					Chackempty.this.dispose();   
				}
				
			});
		}
		

		return jButtonOk;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
